package io.renren.modules.evaluate.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("tb_scheme_index")
public class SchemeIndexEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 方案-指标库 id
     */
    @TableId
    private Integer id;

    /**
     * 方案id
     */
    private Integer schemeId;

    /**
     * 指标id
     */
    private Integer indexId;

    /**
     * 当前结点位置id
     */
    private Integer currentId;

    /**
     * 当前结点父位置id
     */
    private Integer pid;

    /**
     * 权重
     */
    private Double weight;

    /**
     * 权重算法id
     */
    private Integer weightMethodId;

    /**
     * 指标信息
     */
    @TableField(exist = false)
    private NormMesEntity normMes;
}
